package com.steakliu.sun.annotation;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 功能说明： 服务提供者注解
 * <p>
 * Original @Author: steakliu-刘牌, 2023-01-07  20:16
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Component
public @interface SunService {
    Class<?> interfaceClass() default void.class;
    String interfaceClassName() default "";
    String version() default "";
    String group() default "";
    String tag() default "";
    int weight() default 1;
    String token() default "";
}
